//
//  HomeModel.m
//  XinJiangMall
//
//  Created by Tzyang on 2018/4/9.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import "HomeModel.h"

#import "BannerListModel.h"
#import "HomeTagsModel.h"
#import "SeckillGoodsModel.h"
#import "RecommendGoodsModel.h"

@implementation HomeModel

- (NSMutableArray *)banner_list{
    
    if (!_banner_list) {
        NSMutableArray * banner_list = [NSMutableArray array];
        self.banner_list = banner_list;
    }
    return _banner_list;
}

- (NSMutableArray *)home_tags{
    
    if (!_home_tags) {
        NSMutableArray * home_tags = [NSMutableArray array];
        self.home_tags = home_tags;
    }
    return _home_tags;
}

- (NSMutableArray *)seckill_goods{
    
    if (!_seckill_goods) {
        NSMutableArray * seckill_goods = [NSMutableArray array];
        self.seckill_goods = seckill_goods;
    }
    return _seckill_goods;
}

- (NSMutableArray *)recommend_goods{
    
    if (!_recommend_goods) {
        NSMutableArray * recommend_goods = [NSMutableArray array];
        self.recommend_goods = recommend_goods;
    }
    return _recommend_goods;
}

/* 实现该方法，说明数组中存储的模型数据类型 */
+  (NSDictionary *)mj_objectClassInArray{
    
    return @{@"banner_list":[BannerListModel class],
             @"home_tags":[HomeTagsModel class],
             @"seckill_goods":[SeckillGoodsModel class],
             @"recommend_goods":[RecommendGoodsModel class]
             };
}


@end
